package com.bbva.general.listeners;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

import com.bbva.general.process.CargaOfigru;

public class JobCargaOfigru extends QuartzJobBean
{

	CargaOfigru cargaOfigru;

	public CargaOfigru getCargaOfigru()
	{
		return cargaOfigru;
	}

	public void setCargaOfigru(CargaOfigru cargaOfigru)
	{
		this.cargaOfigru = cargaOfigru;
	}

	@Override
	protected void executeInternal(JobExecutionContext arg0) throws JobExecutionException
	{
		cargaOfigru.CargarAutomatica();
	}

}
